package com.demo.transaction.controller;

import com.demo.transaction.service.BService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/b")
public class BController {

    @Autowired
    private BService bService;

    @RequestMapping("/transactionDemo")
    public void test4(){
        bService.testDemo();
    }

}
